package chapter06_object;

/**
 * ClassName: PhoneTest
 * Package: OOP06
 * Description:
 *
 * @Author 安思宇
 * @Create 2025/3/2 14:36
 */
public class PhoneTest {
    public static void main(String[] args) {
        Phone p1=new Phone();
        p1.name="华为";
        System.out.println(p1.name);

        p1.playGame();
        p1.sendMessage("Hello,world");

    }
}
